On-line EEG monitoring during neurosurgery